/**
 * Company : SIANGKLOM.
 * Created By : Chatree Siangklom
 * Created On : Oct 18, 2013  3:28:06 PM 
 * e-Mail : dr_chatree@hotmail.com
 * Mobile Phone : (+66) 087-921-5115
 * Package Name : com.tis.database.dao.staging
 * File Name : ApplicationLogingDao.java
 * TODO
 */
package com.tis.database.dao.staging;

import java.math.BigDecimal;
import java.util.List;
import org.hibernate.HibernateException;
import com.tis.database.dao.AbstractDao;
import com.tis.database.entitys.staging.ApplicationLoging;

/**
 * @author Chatree Siangklom of Administrator
 * Date =Oct 18, 2013 : 3:28:06 PM 
 * CreateBy=Chatree Siangklom
 * 
 * ApplicationLogingDao
 * TODO
 */
public interface ApplicationLogingDao extends AbstractDao<ApplicationLoging, String> {

	/**
	 * Date =Oct 18, 2013 : 3:32:21 PM 
	 * CreateBy=Chatree Siangklom
	 * List<ApplicationLoging>
	 * TODO
	 * @param id
	 * @param instanceNo
	 * @param msgCode
	 * @param msgDesc
	 * @param msgAltDesc
	 * @param refInstanceNo
	 * @param createdOnStart
	 * @param createdOnEnd
	 * @param maxResult
	 * @return
	 * @throws HibernateException
	 * @throws Exception
	 */
	List<ApplicationLoging> Search(	String id,
									String instanceNo,									
									String msgCode,
									String msgDesc,
									String msgAltDesc,
									String refInstanceNo,
									String createdOnStart, 
									String createdOnEnd,
									int maxResult) throws HibernateException, Exception;
	
	/**
	 * Date =Oct 18, 2013 : 3:32:28 PM 
	 * CreateBy=Chatree Siangklom
	 * BigDecimal
	 * TODO
	 * @return
	 * @throws HibernateException
	 * @throws Exception
	 */
	BigDecimal NextSequence() throws HibernateException, Exception;
	
	
}
